const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  username: state => state.user.username,
  roles: state => state.user.roles,
  addRouters: state => state.permission.addRouters,
  hasSetInfo: state => state.user.hasSetInfo,
  context: state => state.assembleJson.context
}

export default getters
